Managing attachments and uploads

To configure the allowable file types

1.  On the appserver, open each iMIS-related web.config file for editing.

□    iMIS default location: C:\Program Files\ASI\iMIS\net

2.  Edit this line to add or remove file types in the value attributes.

<add key="Communities.AllowedUploadFileTypes" value="DOC,PDF,TXT,HTM,HTML,GIF,JPG,PNG,RTF,ZIP,XML" />

3.  Refer to the list of the allowable file types that are specified in the web.config file entry.

4.  Save the web.config file.

5.  Repeat this process for each iMIS appserver that hosts communities where you want to change the allowable file types.

 

File Extension

File Type

AVI

Audio Visual Interleave

BMP

Microsoft device independent bitmap

DOC

Microsoft Word Document

EML

Outlook Express Electronic Mail

FLV

Flash Video File

GIF

GIF Image

HTM

HTML Page

HTML

HTML Page

JPE

JPEG Image

JPEG

JPEG Image

JPG

JPEG Image

MOV

QuickTime Movie

MP3

MP3 Audio

MPG

MPEG Movie

PDF

Adobe PDF File

PNG

PNG Image

PPT

Microsoft PowerPoint Presentation

RA

Real Audio File

RAM

Real Audio File

RPT

Crystal Report Template

RST

SSRS Template

RTF

RTF (Rich Text Format) File

TIF

TIFF Image

TIFF

TIFF Image

TXT

Text File

WAV

WAV Audio File

WMV

Windows Media File

WPD

Word Perfect Document

WRI

Windows Write Document

XLS

Microsoft Excel Workbook

XML

XML File

ZIP

Zip File

To increase maximum upload file size

If your typical uploaded file size in your Resource Library or blog entries for example are larger than 100 MB, you can increase the maximum file size in web.config files associated with iMIS.

1.  On the appserver, open each iMIS-related web.config file for editing.

□    iMIS default location: C:\Program Files\ASI\iMIS\net

2.  Locate the <httpRuntime> element and modify the maxRequestLength attribute.

<httpRuntime executionTimeout="3600" maxRequestLength="102400" />

3.  Save the web.config file.

4.  Repeat this process for each iMIS appserver that hosts communities where you want greater file sizes for attachments.

Tips

The following information can be helpful when managing file types.

■    The MPE file type is sometimes used for MPG Video, but that file type is already in use for Mail Process Engine in iMIS. Rename .mpe files to .mpg in order to upload them to Communities.

■    When a user attaches an XML file to a post and another user downloads it, the default file-opening behavior varies depending on the browser. In Internet Explorer, the XML file may take over the iMIS session, forcing the user to reconnect to the community through another browser window.

Troubleshooting

In order to prevent denial of service attacks, if a user tries to upload a file that is greater in size than the maximum allowed for uploads, the Upload dialog box displays an error. If users report that the Upload dialog box displays an error, check to see if their file exceeds the file size limit.

Be aware that increasing that value could result in a performance penalty on the webserver if the files being uploaded are too large for the server resources available such as available memory and CPU.